import { Module, SetMetadata } from "@nestjs/common";
import { MODULE_PATH } from "@nestjs/common/constants";
import { TypeOrmModule } from "@nestjs/typeorm";
import { GoodsController } from "../controller/goods.controller";
import { GoodsService } from "../service/goods.service";
import { Goods } from "/@/entities/goods/Goods.entity";
import { GoodsType } from "/@/entities/goods/GoodsType.entity";

@Module({
  imports: [TypeOrmModule.forFeature([Goods, GoodsType])],
  controllers: [GoodsController],
  providers: [GoodsService],
  exports: [GoodsService],
})
@SetMetadata(MODULE_PATH, "/admin")
export class GoodsModule {
  //
}
